// 文件导出

const fileExport = (data, name) => {
  const url = window.URL.createObjectURL(data)
  const filename = name
  const a = document.createElement('a')
  a.href = url
  a.download = filename
  a.click()
  window.URL.revokeObjectURL(url)
  a.remove()
}

export default {
  fileExport

}
